home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / language / c68_443b.lzh / SRC / HELLO.C next >
C/C++ Source or Header  |  1994-08-04  |  373b  |  10 lines

  1. /* The inevitable hello world program...
  2.  *
  3.  * I found this one while reading news and modified it slightly
  4.  * in order to avoid the CR/LF problem.  Compile with -lm.
  5.  */
  6.  
  7. float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||(
  8. h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++_==L&&printf("%.1s",(--s%L?_<L?
  9. --_%6:6:7)+"World! \n")&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}
  10.